/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ntb.models;

import com.ntb.entities.BuildingTypes;
import java.util.Iterator;
/**
 *
 * @author AnhTuan
 */
public interface BuildingTypesDAO {
    
    public Iterator<BuildingTypes> getList();

    public Iterator<BuildingTypes> getList(String buildingTypeName, int page);

    public int getPageCount(String buildingTypeName);

    public BuildingTypes getRow(int id);

    public boolean checkDuplicateName(String name);

    public int add(BuildingTypes object);

    public int update(BuildingTypes object);

    public int delete(int id);

    public int deleteIn(String arrayIds);
}
